package com.hsgene.consumables.service.api;

import com.hsgene.common.util.result.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @desc: 管理员信息获取
 * @author: 江承良
 * @date: 2018/10/12 10:21
 */
@Deprecated
@FeignClient(name = "ms-mod-user", path = "/user_manager")
public interface UserInfoService {
    /**
     * 根据id获取用户信息
     * @param id 用户id
     * @return
     */
    @GetMapping("/{id}")
    ApiResult userById(@PathVariable("id")String id);
}
